package blog;

public class Test {
    public static void main(String[] args) {
        Out out = new Out();
        Out.Inner inner = out.new Inner();//先实例化外部类 用过外部类引用实例化内部类
        Out.Inner inner1 = new Out().new Inner();//直接new
        inner.fun();
    }
}
